package com.qf.service.impl;

import com.qf.dao.AdminDao;
import com.qf.dao.impl.AdminDaoImpl;
import com.qf.domain.User;
import com.qf.service.AdminUserService;

/**
 * @author Administrator
 * @version v1.0
 * @date 2022/4/21
 */
public class AdminUserServiceImpl implements AdminUserService {
    private AdminDao adminDao = new AdminDaoImpl();
    @Override
    public User login(String username, String password) {
        return adminDao.selectByUsernameAndPassword(username,password);
    }
}
